<tagLib name="html" />
<script language="javascript" src="/Public/static/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<div id="main-content">
    <div id="main" class="main">

            <div class="user-hd">
                <h2>财务管理>>{$page_title}</h2>
            </div>
            <div class="clearfix searchspin">
				<dl>
					<dt>筛选条件:</dt>
					<dd>
						<form action="{:U('Analyse/cinemaFinancialAnalyse')}" method="get">
						<div class="fl">
							起止时间：<input type="text" name="create_time_start" id="create_time_start" value="{$_GET['create_time_start']}" class="Wdate bg-input mr5" <literal>onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'create_time_end\')||\'%y-%M-%d\'}'})"</literal> readonly="readonly" size="30" style="width: 90px;"/>
							<input type="text" name="create_time_end" id="create_time_end" value="{$_GET['create_time_end']}" class="Wdate bg-input mr5" <literal>onfocus="WdatePicker({minDate:'#F{$dp.$D(\'create_time_start\')}',maxDate:'%y-%M-%d'})"</literal> readonly="readonly" size="30" style="width: 90px;" />
							<input type="text" maxlength="36" name="keywords" value="{$_GET['keywords']}" placeholder="主机号" class="bg-input" />	
							<a href="{:U('Analyse/cinemaFinancialAnalyse')}" class="sblue-btn" style="height:28px;width:68px;">清空 </a>
							<input type="submit" class="sblue-btn" value="检索" />						
						</div>
						<div class="clear"></div>
						</form>
					</dd>
				</dl>
            </div>
            <div class="spin-cont">
                <table>
					<p style="padding-bottom:20px;">
					共消费次数：<span class="text_red">{$count}</span> 次；
                    总消费金额：<span class="text_red"><?php echo substr($countMoney,1); ?></span> 元；
					</p>
                    <tr>
						<th style="width: 180px;">交易时间</th>
                        <th style="width: 180px;">交易流水号</th>
						<th style="width: 180px;">消费主机</th>
						<th style="width: 180px;">消费金额(元)</th>
						<th style="width: 180px;">当前余额(元)</th>
                        <th>操作</th>
                    </tr>
                    <volist name="list" id="vo">
                    <tr>
						<td>{$vo.create_time|date="Y-m-d H:i", ###}</td>
						<td>{$vo.sn}</td>
						<td>{$vo.host_name}</td>
						<td>{$vo.money}</td>
						<td>{$vo.balance} </td>
                        <td><a href="{:U('Analyse/cinemaFinancialDetail', array('recharge_log_id'=>$vo[recharge_log_id]))}">详情</a></td>
                    </tr>
                    </volist>
                </table>
                <div class="page txt-center">
                    {$show}
                </div>
            </div>

    </div>
</div>